import request from '@/utils/request'

// -------- 小讲练习记录--------

let BASE_ADDRESS = '/work/exercisesHistory'


//分页查询
export const geExercisesHistoryListAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: 'get',
        params: data
    })
}
//id查询
export const geExercisesHistoryGetInfoAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/getInfo`,
        method: 'get',
        params: data
    })
}
